Walgreens will pay more than $1.6 million in restitution to more than 570 workers at three Brooklyn stores, along with $163,000 in civil penalties.