This is in accordance with a 2005 amendment in the Hindu Succession Act, the Supreme Court said