Panama breaks with China and strengthens ties with the US.