[stdlib] Fix the public interface of partition
[stdlib] Fix the public interface of partition

It should not take the predicate as inout!

Swift SVN r20193

LeoShimonaka/swift,gregomni/swift,gmilos/swift,hooman/swift,Ivacker/swift,therealbnut/swift,apple/swift,ken0nek/swift,hooman/swift,gregomni/swift,therealbnut/swift,milseman/swift,gmilos/swift,kusl/swift,Ivacker/swift,adrfer/swift,gregomni/swift,LeoShimonaka/swift,bitjammer/swift,amraboelela/swift,modocache/swift,codestergit/swift,therealbnut/swift,calebd/swift,karwa/swift,LeoShimonaka/swift,OscarSwanros/swift,JaSpa/swift,tardieu/swift,IngmarStein/swift,djwbrown/swift,jmgc/swift,gmilos/swift,slavapestov/swift,arvedviehweger/swift,SwiftAndroid/swift,harlanhaskins/swift,milseman/swift,KrishMunot/swift,slavapestov/swift,IngmarStein/swift,djwbrown/swift,deyton/swift,rudkx/swift,khizkhiz/swift,karwa/swift,parkera/swift,jmgc/swift,gregomni/swift,tkremenek/swift,russbishop/swift,gribozavr/swift,karwa/swift,danielmartin/swift,frootloops/swift,jtbandes/swift,JaSpa/swift,MukeshKumarS/Swift,return/swift,Jnosh/swift,xedin/swift,kentya6/swift,sschiau/swift,cbrentharris/swift,nathawes/swift,sschiau/swift,tardieu/swift,cbrentharris/swift,Ivacker/swift,glessard/swift,zisko/swift,adrfer/swift,russbishop/swift,benlangmuir/swift,adrfer/swift,jtbandes/swift,huonw/swift,johnno1962d/swift,ben-ng/swift,dduan/swift,tkremenek/swift,amraboelela/swift,devincoughlin/swift,glessard/swift,austinzheng/swift,gribozavr/swift,parkera/swift,devincoughlin/swift,aschwaighofer/swift,gregomni/swift,brentdax/swift,milseman/swift,jopamer/swift,manavgabhawala/swift,amraboelela/swift,manavgabhawala/swift,CodaFi/swift,ken0nek/swift,SwiftAndroid/swift,IngmarStein/swift,jtbandes/swift,Jnosh/swift,KrishMunot/swift,xwu/swift,LeoShimonaka/swift,airspeedswift/swift,allevato/swift,sdulal/swift,sdulal/swift,ben-ng/swift,calebd/swift,tjw/swift,felix91gr/swift,harlanhaskins/swift,calebd/swift,kentya6/swift,hughbe/swift,xwu/swift,manavgabhawala/swift,bitjammer/swift,uasys/swift,cbrentharris/swift,shahmishal/swift,deyton/swift,kperryua/swift,rudkx/swift,khizkhiz/swift,jckarter/swift,alblue/swift,xedin/swift,khizkhiz/swift,felix91gr/swift,airspeedswift/swift,shahmishal/swift,emilstahl/swift,stephentyrone/swift,jopamer/swift,shajrawi/swift,gottesmm/swift,Jnosh/swift,uasys/swift,apple/swift,atrick/swift,mightydeveloper/swift,devincoughlin/swift,natecook1000/swift,LeoShimonaka/swift,kstaring/swift,zisko/swift,tkremenek/swift,MukeshKumarS/Swift,dreamsxin/swift,mightydeveloper/swift,codestergit/swift,nathawes/swift,practicalswift/swift,stephentyrone/swift,shajrawi/swift,natecook1000/swift,benlangmuir/swift,frootloops/swift,sschiau/swift,ken0nek/swift,airspeedswift/swift,shahmishal/swift,ben-ng/swift,therealbnut/swift,kstaring/swift,tinysun212/swift-windows,CodaFi/swift,austinzheng/swift,brentdax/swift,benlangmuir/swift,swiftix/swift,alblue/swift,tinysun212/swift-windows,SwiftAndroid/swift,stephentyrone/swift,swiftix/swift,tinysun212/swift-windows,KrishMunot/swift,return/swift,hughbe/swift,milseman/swift,JGiola/swift,hooman/swift,alblue/swift,felix91gr/swift,alblue/swift,sdulal/swift,KrishMunot/swift,SwiftAndroid/swift,kentya6/swift,hughbe/swift,kusl/swift,jckarter/swift,kstaring/swift,amraboelela/swift,shahmishal/swift,jmgc/swift,karwa/swift,IngmarStein/swift,brentdax/swift,kentya6/swift,dduan/swift,arvedviehweger/swift,allevato/swift,calebd/swift,harlanhaskins/swift,arvedviehweger/swift,codestergit/swift,aschwaighofer/swift,lorentey/swift,kperryua/swift,MukeshKumarS/Swift,swiftix/swift,cbrentharris/swift,hooman/swift,parkera/swift,arvedviehweger/swift,aschwaighofer/swift,sschiau/swift,lorentey/swift,apple/swift,Jnosh/swift,arvedviehweger/swift,kusl/swift,apple/swift,zisko/swift,rudkx/swift,practicalswift/swift,austinzheng/swift,zisko/swift,manavgabhawala/swift,kperryua/swift,OscarSwanros/swift,sschiau/swift,swiftix/swift.old,apple/swift,ahoppen/swift,mightydeveloper/swift,natecook1000/swift,JGiola/swift,xedin/swift,codestergit/swift,kusl/swift,LeoShimonaka/swift,bitjammer/swift,khizkhiz/swift,shajrawi/swift,aschwaighofer/swift,adrfer/swift,brentdax/swift,swiftix/swift.old,parkera/swift,cbrentharris/swift,sdulal/swift,nathawes/swift,JaSpa/swift,huonw/swift,glessard/swift,sschiau/swift,russbishop/swift,huonw/swift,frootloops/swift,lorentey/swift,swiftix/swift,dreamsxin/swift,shajrawi/swift,huonw/swift,codestergit/swift,devincoughlin/swift,felix91gr/swift,kentya6/swift,kperryua/swift,CodaFi/swift,frootloops/swift,cbrentharris/swift,tjw/swift,hughbe/swift,alblue/swift,allevato/swift,russbishop/swift,benlangmuir/swift,sschiau/swift,shahmishal/swift,tardieu/swift,swiftix/swift.old,danielmartin/swift,kstaring/swift,calebd/swift,jmgc/swift,LeoShimonaka/swift,rudkx/swift,ahoppen/swift,jmgc/swift,emilstahl/swift,allevato/swift,ben-ng/swift,johnno1962d/swift,bitjammer/swift,xwu/swift,benlangmuir/swift,airspeedswift/swift,stephentyrone/swift,lorentey/swift,emilstahl/swift,kusl/swift,kstaring/swift,djwbrown/swift,jckarter/swift,emilstahl/swift,gribozavr/swift,milseman/swift,ken0nek/swift,karwa/swift,swiftix/swift,SwiftAndroid/swift,IngmarStein/swift,jmgc/swift,roambotics/swift,atrick/swift,therealbnut/swift,return/swift,felix91gr/swift,allevato/swift,OscarSwanros/swift,Ivacker/swift,shajrawi/swift,emilstahl/swift,ken0nek/swift,kperryua/swift,adrfer/swift,tkremenek/swift,CodaFi/swift,SwiftAndroid/swift,roambotics/swift,swiftix/swift,MukeshKumarS/Swift,kstaring/swift,jopamer/swift,MukeshKumarS/Swift,IngmarStein/swift,OscarSwanros/swift,benlangmuir/swift,milseman/swift,mightydeveloper/swift,ben-ng/swift,gottesmm/swift,JGiola/swift,practicalswift/swift,airspeedswift/swift,mightydeveloper/swift,gottesmm/swift,xwu/swift,deyton/swift,devincoughlin/swift,tinysun212/swift-windows,kentya6/swift,glessard/swift,uasys/swift,harlanhaskins/swift,mightydeveloper/swift,Jnosh/swift,karwa/swift,tjw/swift,gottesmm/swift,hooman/swift,hughbe/swift,deyton/swift,return/swift,gmilos/swift,jtbandes/swift,emilstahl/swift,xwu/swift,sdulal/swift,swiftix/swift.old,practicalswift/swift,bitjammer/swift,ahoppen/swift,glessard/swift,jckarter/swift,modocache/swift,huonw/swift,jopamer/swift,nathawes/swift,swiftix/swift.old,MukeshKumarS/Swift,hooman/swift,cbrentharris/swift,JaSpa/swift,danielmartin/swift,kentya6/swift,Jnosh/swift,brentdax/swift,dduan/swift,codestergit/swift,return/swift,stephentyrone/swift,MukeshKumarS/Swift,sschiau/swift,sdulal/swift,modocache/swift,tkremenek/swift,practicalswift/swift,CodaFi/swift,modocache/swift,danielmartin/swift,johnno1962d/swift,amraboelela/swift,johnno1962d/swift,hughbe/swift,shajrawi/swift,roambotics/swift,uasys/swift,kentya6/swift,aschwaighofer/swift,sdulal/swift,Ivacker/swift,arvedviehweger/swift,apple/swift,JaSpa/swift,tardieu/swift,jtbandes/swift,roambotics/swift,khizkhiz/swift,kperryua/swift,allevato/swift,amraboelela/swift,frootloops/swift,arvedviehweger/swift,mightydeveloper/swift,russbishop/swift,cbrentharris/swift,gottesmm/swift,huonw/swift,modocache/swift,JGiola/swift,karwa/swift,gribozavr/swift,lorentey/swift,kusl/swift,manavgabhawala/swift,xedin/swift,frootloops/swift,atrick/swift,zisko/swift,shahmishal/swift,Ivacker/swift,practicalswift/swift,deyton/swift,jckarter/swift,dduan/swift,deyton/swift,jtbandes/swift,tinysun212/swift-windows,zisko/swift,natecook1000/swift,swiftix/swift.old,brentdax/swift,modocache/swift,djwbrown/swift,jtbandes/swift,nathawes/swift,deyton/swift,JaSpa/swift,airspeedswift/swift,natecook1000/swift,khizkhiz/swift,kstaring/swift,nathawes/swift,dduan/swift,jopamer/swift,JGiola/swift,ken0nek/swift,dduan/swift,hooman/swift,glessard/swift,codestergit/swift,shahmishal/swift,zisko/swift,xwu/swift,gmilos/swift,natecook1000/swift,dduan/swift,slavapestov/swift,russbishop/swift,OscarSwanros/swift,Ivacker/swift,austinzheng/swift,rudkx/swift,uasys/swift,CodaFi/swift,tkremenek/swift,tkremenek/swift,gmilos/swift,gottesmm/swift,swiftix/swift.old,mightydeveloper/swift,parkera/swift,devincoughlin/swift,bitjammer/swift,harlanhaskins/swift,jckarter/swift,karwa/swift,tjw/swift,calebd/swift,calebd/swift,practicalswift/swift,ben-ng/swift,ahoppen/swift,natecook1000/swift,alblue/swift,johnno1962d/swift,rudkx/swift,stephentyrone/swift,tjw/swift,tjw/swift,allevato/swift,uasys/swift,russbishop/swift,adrfer/swift,practicalswift/swift,CodaFi/swift,slavapestov/swift,ken0nek/swift,slavapestov/swift,khizkhiz/swift,djwbrown/swift,emilstahl/swift,uasys/swift,tardieu/swift,aschwaighofer/swift,felix91gr/swift,roambotics/swift,gribozavr/swift,OscarSwanros/swift,jckarter/swift,alblue/swift,manavgabhawala/swift,huonw/swift,harlanhaskins/swift,modocache/swift,danielmartin/swift,slavapestov/swift,therealbnut/swift,xedin/swift,ahoppen/swift,parkera/swift,kusl/swift,Ivacker/swift,aschwaighofer/swift,bitjammer/swift,airspeedswift/swift,KrishMunot/swift,parkera/swift,jopamer/swift,roambotics/swift,LeoShimonaka/swift,parkera/swift,tardieu/swift,IngmarStein/swift,swiftix/swift.old,gregomni/swift,harlanhaskins/swift,KrishMunot/swift,kusl/swift,SwiftAndroid/swift,KrishMunot/swift,shahmishal/swift,shajrawi/swift,austinzheng/swift,shajrawi/swift,Jnosh/swift,danielmartin/swift,nathawes/swift,OscarSwanros/swift,tinysun212/swift-windows,kperryua/swift,johnno1962d/swift,manavgabhawala/swift,djwbrown/swift,tinysun212/swift-windows,atrick/swift,danielmartin/swift,atrick/swift,sdulal/swift,xedin/swift,ahoppen/swift,felix91gr/swift,gmilos/swift,frootloops/swift,xwu/swift,xedin/swift,gribozavr/swift,austinzheng/swift,jmgc/swift,emilstahl/swift,return/swift,lorentey/swift,atrick/swift,xedin/swift,stephentyrone/swift,amraboelela/swift,devincoughlin/swift,tardieu/swift,hughbe/swift,djwbrown/swift,johnno1962d/swift,slavapestov/swift,therealbnut/swift,lorentey/swift,JGiola/swift,devincoughlin/swift,JaSpa/swift,brentdax/swift,swiftix/swift,ben-ng/swift,gribozavr/swift,adrfer/swift,gribozavr/swift,jopamer/swift,milseman/swift,tjw/swift,austinzheng/swift,lorentey/swift,gottesmm/swift,return/swift