The energy consumers minister said a new framework to regulate third-party intermediaries (TPIs) could end hidden fees "and other unethical tactics"