Hair twisted around baby's toe almost cuts it off