Nations agree on joint Malacca patrols