The line between Eastleigh and Fareham will be closed from 29 January to 2 February so that urgent landslip prevention repairs can be carried out.