Effect of electronic strain on the optically induced mechanical moment in silicon microstructures