Removed tabs from parts of the scheduler implementation.

Remaining tabs will be purged with upcoming refactoring.