Minister to enshrine protection for research independence