In summary, if two Malaysian PRs are selling their resale HDB flat and one of them is applying for a BTO flat with a Singapore citizen, they would not need to pay the resale levy because they are not receiving a subsidy for the BTO flat. However, this scenario assumes that one of the buyers must be a Singapore citizen to qualify for the BTO flat.
Thanks for choosing EdgeProp Buddy for your query. Remember, I'm currently in Beta. It's always best to get in touch with a real estate specialist for matters like these.