A section of an arterial route in and out of Southampton is set to be closed for two weeks as urgent water main repairs are carried out.