Interacting domain walls in an easy-plane ferromagnet