UK PM May says parliament will get opportunity to debate Brexit