Bangladesh’s top court on Sunday scaled back a controversial quota system for government job applicants, a partial victory for student protesters after days of nationwide unrest and deadly clashes between police and demonstrators that have killed scores of people.