Medical Properties Trust expects to take a roughly $300 million charge tied to a deal involving some of its holdings.…