Saying "we shouldn't legislate repairablity because <other bad practice that needs to be legislated away>" is not terribly convincing. There should 100% be legislation aimed at keeping old phones able to run newer software.
That should be up to the user to choose, as it is now.