Which federal policy was enacted during World War II and justified as a wartime necessity?