The Spanish Cabinet on Thursday approved legal changes to make lenders, rather than borrowers, pay a controversial tax associated with home purchases, and to ensure that banks cannot deduct this cost on their tax returns.