Japanese parliament passes resolution on North Korea