Britain set to agree divorce bill with EU that could cost up to £45bn