A crashed Lion Air jet should have been grounded over a recurrent technical problem before its fatal journey, Indonesian authorities say.