Theresa May has been warned by one of her senior ministers that she cannot afford to ignore the will of Parliament if it unites around a "softer" Brexit.