The Merseyrail train travelling towards Liverpool came within inches of hitting the woman