We use duplicate tasks to handle a case where we specify
swift_managed_regions, we could handle this with an if statement
that will only add the '-r' flag when the variable is specified.
This PR removes the 2 duplicate tasks in both the build and
distribution_check tasks.
Change-Id: Icba70faf90c5e54499c67bac382a8bd507143ee8