Department for Transport to end troubled franchise three years earlier than planned and replace with partnership model