MT#5601 Update field-device lines on model updates

- Update line ranges on model edit instead of re-creating them
  to avoid dropping line range assignments of field devices
- Remove field device assignments which are out of key ranges
  or use a unsupported feature after the model update.