Schools minister Nick Gibb says new exam league tables will show up schools who prioritise their annual ranking ahead of educating all pupils.