Resize target layer in perspective tracking
Pre-comp the replacement layer (using the option to keep all the settings in the outer comp), and match the aspect ratio of the pre-comp to the rectangle you're tracking. Then adjust the replacement layer so that it fills the comp as you wish.