Swiss lawmakers are focusing on a possible compromise in the debate over the regulation of UBS Group AG, which would potentially make it less expensive for the bank to meet the government’s $20 billion capital demand.