Flexibility saves bridge design after washout