Working Time Regulation in a Search Economy with Worker Moral Hazard