Prepivoting composite score statistics by weighted bootstrap iteration