Validating the improved angular resolution of the GRAPES-3 air shower array by observing the Moon shadow in cosmic rays