Only send duplicate_of when closing a need

I found after https://github.com/alphagov/govuk_need_api/pull/44 that a need could no longer be updated or marked as out of scope due to the `duplicate_of` field being present in the JSON request from Maslow.

`duplicate_of` field is now only sent when closing a need as a duplicate.