Australia, Malaysia closing in on refugee agreement