Serious cases like POCSO cannot be dismissed based on compromise: High court lifts stay on trial