Just Group becomes the latest company to agree to a takeover