England avoided a shock defeat by Pakistan at the Women's World Cup, being saved by heavy rain in Colombo.