Theresa May is exploring ways to put her EU withdrawal agreement before MPs again, after its latest rejection.