A decades-old Medicare rule may be needlessly extending hospital stays