Geometrical and Frictional Effects on Incomplete Rupture and Shallow Slip Deficit in Ramp-Flat Structures