Australian ruling party’s chances improve in vote-swap deal