Federal judge strikes part of Minn. energy law; Minnesota to appeal