SPRINGFIELD — The state’s top legal officer had added her office behind the effort to counter President Donald Trump’s executive order imposing immigration restrictions on individuals from certain Middle Eastern countries.Attorney General Lisa M. Madigan joined 16 other Democratic attorneys general and the top legal officer for the District of Columbia in an amicus curiae brief on Monday.Madigan’s friend-of-the-court brief offers support to the states of Washington and Minnesota in their federal …