Bailey seals Boro move