A boundary expansion of solutions to nonlinear singular elliptic equations