Linking initial microstructure and local response during quasistatic granular compaction.