Bayada Home Health Care has agreed to pay $13.5 million to resolve a long-running class action alleging the company failed to compensate its nurses for off-the-clock work.