irregular painful contractions 40 weeks