A resolution for standard modules of Borcherds Lie algebras