Taiwan's legislature has passed a resolution that calls for the country's biggest power plant to go coal-free by 2028.