A federal agency has approved a $22.5 million loan under the EB-5 visa program that will support part of a plan to bring new apartments and retail space to Jersey City’s west side.