The Office of Personnel Management asked federal agencies to report the time and expenses their workers devoted to union activities.