British PM hails Brexit deal but must sell it to doubtful ministers