The Australian senate has passed legislation to create stronger trade ties with Malaysia through a new free trade agreement.