Inheritance rule could boost state pension for two million people