Moves Linked case class from Pattern.Builder companion object back to Pattern.Builder class.  Works but leads to more warinings due to known scalac issue (SI-4440).